/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-02-28 09:06:34
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-02-28 09:11:13
 * @FilePath: \盐师22Git仓库\day05\Test01.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day05;

public class Test01 {
    public static void main(String[] args) {
        System.out.println("Hello,World");

        int line = 10;
        for (int i = 1;i <= 10;i++){
            for (int j = 0;j<= line - i;j++){
                System.out.print(" ");
            }
            for (int k = 1; k <= 2 * i - 1; k++) {
                System.out.print("*");
            }
            System.out.println();
        }

    }
}
